# -*- coding: utf-8 -*-
#   /**
#   * Copyright (c) 2022 Beijing Jiaotong University
#   * PhotLab is licensed under [Open Source License].
#   * You can use this software according to the terms and conditions of the [Open Source License].
#   * You may obtain a copy of [Open Source License] at: [https://open.source.license/]
#   *
#   * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
#   * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
#   * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
#   *
#   * See the [Open Source License] for more details.
#   */
#   /**
#   * Author: Zheng Wang
#   * Created: Feb. 14, 2024
#   * Supported by: National Key Research and Development Program of China
#   */

class CrossDomainInput:
    """
        跨仿真域输入组件
    """

    def __init__(self, domain_id, port_identifier):
        """
        :param domain_id: 仿真域id
        :param port_identifier:  端口标识符
        """
        self.__domain_id = domain_id
        self.__port_identifier = port_identifier

    def __repr__(self):
        return "CrossDomainInput <{},{}>".format(self.__domain_id, self.__port_identifier)
